package com.jlcindia.spring.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.jlcindia.spring.dao.StudentDAO;
import com.jlcindia.hibernate.*;
import com.jlcindia.to.*;

public class StudentServiceImpl implements StudentService{
	
	private StudentDAO studentDAO = null; 
	
	@Autowired
	private StudentDAO studentDAO2=null;
	public void addStudent(Student stu){
		studentDAO.addStudent(stu);
	}
public StudentTO getStudentBySid(String sid){
return studentDAO.getStudentBySid(sid);	
}}